Ext.define('iMedproplus.model.OrganizationStructure', {
    extend: 'Ext.data.Model',

    fields: [
    {
        name: 'id',
        type: 'int'
    },
    {
        name: 'code',
        type: 'string'
    },
    {
        name: 'type',
        type: 'string'
    },
    {
        name: 'name',
        type: 'string'
    },
    {
        name: 'nfzCode',
        type: 'string'
    },
    {
        name: 'status',
        type: 'int'
    },
    {
        name: 'departmentCodePart3',
        type: 'string'
    },
    {
        name: 'departmentCodePart6',
        type: 'string'
    },
    {
        name: 'departmentCodePart5',
        type: 'string'
    },
    {
        name: 'departmentCodePart7',
        type: 'string'
    },
    {
        name: 'departmentCodePart8',
        type: 'string'
    },
    {
        name: 'parent',
        type: 'int'
    }
    ]
});